<?php
	session_name("sesiondirh");
	session_start();
	include("db_conn.php");
?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;  charset=iso-8859-1" />
<title>Modificar Inspecci&oacute;n folio n&ordm; <?php echo $_GET['folio'];?></title>
</head>

<body>

<?php
	$rut = $_GET['rut'];
	$folio = $_GET['folio'];
	$db_conn = conecta();
	$consulta = "select * from Historial where Folio = '$folio' and RutCliente = '$rut'";
	$result = mysql_query($consulta, $db_conn);
	$row = mysql_fetch_array($result)
?>
<table><tr>
<td>Folio :</td><td> <input type="text" name "folio" size="3" maxlength="3" value="<?php echo $row['Folio'];?>" readonly="readonly"/></td>
<td>Fecha : </td><td><input type="text" name "fecha" size="8" value="<?php echo $row['fecha'];?>" readonly="readonly"/></td>
<td>Inspector : </td><td><input type="text" name "nInsp" size="25" value="<?php echo $row['nInspector'];?>" readonly="readonly"/></td>
</tr>
</table>
<textarea name="obs" cols="70" rows="7" wrap="physical"><?php echo $row['Observacion'];?></textarea>

</body>
</html>
